package cn.fl.ref.fncprjprdpaysch.service;

import java.util.List;

import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.project.vo.PrjPrdPaySchMVO;
import cn.fl.ref.fncprjprdpaysch.vo.FncPrjPrdPaySchDVO;
import fl.ref.fncprjprdpaysch.condition.FncPrjPrdPaySchDQueryCondition;

/**
 * @Description: 项目产品支付表主明细信息 服务层接口
 * 业务逻辑层方法名称前缀：
 * 新增：add*
 * 删除：remove*
 * 修改：modify*
 * 批量：batch*
 * 查询对象：select* get*
 * 查询集合：search*
 */
public interface IFncPrjPrdPaySchDService {
	public Long add(FncPrjPrdPaySchDVO entity) throws BaseException;
	public boolean update(FncPrjPrdPaySchDVO entity) throws BaseException;
	public FncPrjPrdPaySchDVO selectById(Long id) throws BaseException;
    public List<FncPrjPrdPaySchDVO> searchList(FncPrjPrdPaySchDQueryCondition condition) throws BaseException;
    public boolean removeById(Long id) throws BaseException;
    public Pager searchListPage(Pager page) throws BaseException;
    /**
     * 分页查询
     * @param page
     * @param sysCd
     * @param orgCd
     * @return
     * @throws BaseException
     */
	Pager searchListPage(Pager page, String sysCd, String orgCd) throws BaseException;


	/**
	 * 重新生成我司租金
	 */
    void calculateRentForWs(List<PrjPrdPaySchMVO> prjPrdPaySchMList) throws Exception;
}
